{% extends "blog/base.html"%}

{% block main%}

{% url 'register-view' as register_url%}
{% url 'login-view' as login_url%}
{% url 'user-view' 'changetx' as changetx_url %}
{% url 'user-view' 'changepassword' as changepassword_url %}
{% url 'user-view' 'notification' as notification_url %}

<div style="height:40px;"></div>
<div class="row">
    <div class="col-md-2">
        <a class="list-group-item">
            <img src="{{user.img}}" alt="" width="40">
            &nbsp;{{user.username}} 
        </a>
        <a href="{{changetx_url}}"class="list-group-item">
            修改头像
            <span class="glyphicon glyphicon-chevron-right pull-right"></span>
        </a>
        <a href="{{changepassword_url}}"class="list-group-item active">
            修改密码
            <span class="glyphicon glyphicon-chevron-right pull-right"></span>
        </a>
        <a href="{{notification_url}}"class="list-group-item">
            消息
            <span class="glyphicon glyphicon-chevron-right pull-right"></span>
        </a>
        <a href="{{register_url}}r"class="list-group-item">
            注册新用户
            <span class="glyphicon glyphicon-chevron-right pull-right"></span>
        </a>
        <a href="{{login_url}}"class="list-group-item">
            重新登陆
            <span class="glyphicon glyphicon-chevron-right pull-right"></span>
        </a>
    </div>
    <div class="col-md-10">
        {%include "vmaig_auth/changepassword.html"%}
    </div>
</div>
{%endblock%}
